<?php
require_once( 'lib/squeeks-Pusher-PHP/lib/Pusher.php' );
require_once( 'config.php' );

$pusherObj = new Pusher( APP_KEY, APP_SECRET, APP_ID );
$data = array( 'message' => htmlspecialchars( $_GET[ 'message' ] ), 'story' => htmlspecialchars( $_GET[ 'story' ] ) );
$pusherObj->trigger( 'my_notifications', 'notification', $data );

?>